#!/bin/bash

if [ "$1" = "cpu" ]; then
grep $1 /proc/cpuinfo

elif [ "$1" = "cache" ]; then
grep $1 /proc/cpuinfo

else
echo Error
fi



